package com.ruoyi.staff.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员信息对象 gc_staff
 *
 * @author ruoyi
 * @date 2025-05-07
 */
@ApiModel
public class Staff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    /** 岗位 */
    @Excel(name = "岗位")
    @ApiModelProperty(value = "岗位")
    private String post;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Long status;

    /** 照片 */
    @Excel(name = "照片")
    @ApiModelProperty(value = "照片")
    private String image;

    /** 所属单位 */
    @Excel(name = "所属单位")
    @ApiModelProperty(value = "所属单位")
    private Long enterpriseId;

    /** 所属工程 */
    @Excel(name = "所属工程")
    @ApiModelProperty(value = "所属工程")
    private Long engineeringId;

    @ApiModelProperty(value = "单位名称")
    private String enterpriseName;
    public void setEnterpriseName(String enterpriseName)
    {
        this.enterpriseName = enterpriseName;
    }
    public String getEnterpriseName()
    {
        return enterpriseName;
    }


    @ApiModelProperty(value = "工程名称")
    private String engineeringName;
    public void setEngineeringName(String engineeringName)
    {
        this.engineeringName = engineeringName;
    }
    public String getEngineeringName()
    {
        return engineeringName;
    }




    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setPost(String post)
    {
        this.post = post;
    }

    public String getPost()
    {
        return post;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setEnterpriseId(Long enterpriseId)
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId()
    {
        return enterpriseId;
    }
    public void setEngineeringId(Long engineeringId)
    {
        this.engineeringId = engineeringId;
    }

    public Long getEngineeringId()
    {
        return engineeringId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("mobile", getMobile())
            .append("post", getPost())
            .append("status", getStatus())
            .append("image", getImage())
            .append("enterpriseId", getEnterpriseId())
            .append("engineeringId", getEngineeringId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .toString();
    }
}
